Skip to content

feat(skills): add inline skill references and picker support - #1298

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:main
Jun 24, 2026
Merged

feat(skills): add inline skill references and picker support#1298
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:main

Conversation

@wsp1911

@wsp1911 wsp1911 commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add inline skill reference support across the runtime prompt and FlowChat input UX.

Fixes #951
Fixes #1285

Type and Areas

Type:

  • feature
  • UI/UX

Areas:

  • Rust core
  • web UI
  • i18n

Motivation / Impact

This introduces a unified [$skill] reference model for runtime skill prompts and chat input interactions.

Users can now:

  • trigger skills directly from slash or $ inline pickers
  • see selected skills rendered as pills consistently
  • insert skills from the legacy boost menu without spacing or line-break glitches
  • navigate command picker items cyclically with the arrow keys

On the runtime side, skill snapshot and skill listing output now render as inline <skill name="...">...</skill> entries and the skill guidance explicitly documents the [$SkillName] invocation format.

Verification

  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run src/flow_chat/components/RichTextInput.test.tsx src/flow_chat/utils/skillPromptReference.test.ts

Reviewer Notes

  • This staged set spans both runtime prompt formatting and FlowChat input UX changes because they are part of the same skill-reference feature.
  • Locale strings were updated for the new command picker section label.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

- render runtime skill snapshots and listings with inline skill tags
- switch chat input skill insertion to token pills across slash and boost flows
- support inline / and $ skill triggers and wrap command picker navigation
@wsp1911
wsp1911 marked this pull request as ready for review June 24, 2026 07:35
@wsp1911
wsp1911 merged commit e021737 into GCWing:main Jun 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 为什么自定义的skill导入了还是没法使用 [Feature]: 增加显式可用 Skill 列表,方便快速查找和调用

1 participant